package com.only4play.practice.ordercommon.pay;

import com.only4play.codegen.support.annotation.FieldDesc;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 虚拟币
 * @author mengdy
 */
@Setter
@Getter
public class CoinPayItem extends AbstractPayItem{

  public CoinPayItem(BigDecimal money) {
    super(money, PayChannelType.COIN, PayGroup.VIRTUAL_PROPERTY);
  }

  @FieldDesc(name = "来源")
  private String source;

  // 可能还有虚拟币金额、虚拟币类型等属性，可以自己扩展


}
